#include <iostream>
#include "Complex.h"

Complex::Complex(float r, float v)
{
	m_r = r;
	m_v = v;
}

Complex::Complex(const Complex & c)
{
	m_r = c.m_r;
	m_v = c.m_v;
}

Complex::~Complex()
{
}

void Complex::operator+=(const Complex & c)
{
	m_r = m_r + c.m_r;
	m_v = m_v + c.m_v;
}

void Complex::operator=(const Complex & c)
{
	m_r = c.m_r;
	m_v = c.m_v;
}

bool Complex::operator==(const Complex & c)
{
}

void Complex::print()
{
	std::cout << m_r << " + " << m_v << "i" << std::endl;
}
